﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FredCK.FCKeditorV2;
using IOEntity;
using IOBusiness;
namespace Indochinaodyssey.Admin
{
    public partial class QLNoidung : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Button b = (Button)sender;
            FCKeditor fck = (FCKeditor)b.FindControl("txtND");
            clsTheLoai tl = new clsTheLoai();
            tl.Id = Convert.ToInt32(Request.QueryString["ID"]);
            tl.Noidung = fck.Value;
            clsBSTheLoai bsTL = new clsBSTheLoai();
            bsTL.EditTLND(tl);
            Response.Redirect("QLTheLoai.aspx");
        }

    }
}